
package model.bean;

import java.util.HashSet;
import java.util.Set;

/**
 * District entity.
 * 
 * @author Eric.Kao gau168.gau@msa.hinet.net
 * @version 1.0
 * @company E885 Group
 * @copyright Copyright (c) 2001-2008
 */

public class District implements java.io.Serializable
{
	private static final long serialVersionUID = 2916793541466940870L;

	private String id;

	private County county;

	private String name;

	private Set< PersonInfo > personInfos = new HashSet< PersonInfo >( 0 );

	/**
	 * default constructor
	 */
	public District()
	{
	}

	public County getCounty()
	{
		return this.county;
	}

	public String getId()
	{
		return this.id;
	}

	public String getName()
	{
		return this.name;
	}

	public Set< PersonInfo > getPersonInfos()
	{
		return this.personInfos;
	}

	public void setCounty( County county )
	{
		this.county = county;
	}

	public void setId( String id )
	{
		this.id = id;
	}

	public void setName( String name )
	{
		this.name = name;
	}

	public void setPersonInfos( Set< PersonInfo > personInfos )
	{
		this.personInfos = personInfos;
	}

}